package com.interpreter.self;

import java.util.HashMap;

public class AddEmulation extends SymbolEmulation{

    public AddEmulation(Emulation left, Emulation right) {
        super(left, right);
    }

    @Override
    public int intercept(HashMap<String, Integer> var) {
        return super.left.intercept(var) + super.right.intercept(var);
    }
}
